3.7.99 \(\int x^p (b+c x)^p (b+2 c x) \, dx\)

Optimal. Leaf size=20 \[ \frac {x^{p+1} (b+c x)^{p+1}}{p+1} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {74} \begin {gather*} \frac {x^{p+1} (b+c x)^{p+1}}{p+1} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^p*(b + c*x)^p*(b + 2*c*x),x]

[Out]

(x^(1 + p)*(b + c*x)^(1 + p))/(1 + p)

Rule 74

Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[(b*(c + d*x)
^(n + 1)*(e + f*x)^(p + 1))/(d*f*(n + p + 2)), x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && NeQ[n + p + 2, 0] &
& EqQ[a*d*f*(n + p + 2) - b*(d*e*(n + 1) + c*f*(p + 1)), 0]

Rubi steps

\begin {align*} \int x^p (b+c x)^p (b+2 c x) \, dx &=\frac {x^{1+p} (b+c x)^{1+p}}{1+p}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 20, normalized size = 1.00 \begin {gather*} \frac {x^{p+1} (b+c x)^{p+1}}{p+1} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^p*(b + c*x)^p*(b + 2*c*x),x]

[Out]

(x^(1 + p)*(b + c*x)^(1 + p))/(1 + p)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.04, size = 0, normalized size = 0.00 \begin {gather*} \int x^p (b+c x)^p (b+2 c x) \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[x^p*(b + c*x)^p*(b + 2*c*x),x]

[Out]

Defer[IntegrateAlgebraic][x^p*(b + c*x)^p*(b + 2*c*x), x]

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 25, normalized size = 1.25 \begin {gather*} \frac {{\left (c x^{2} + b x\right )} {\left (c x + b\right )}^{p} x^{p}}{p + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^p*(c*x+b)^p*(2*c*x+b),x, algorithm="fricas")

[Out]

(c*x^2 + b*x)*(c*x + b)^p*x^p/(p + 1)

________________________________________________________________________________________

giac [A]  time = 0.16, size = 35, normalized size = 1.75 \begin {gather*} \frac {{\left (c x + b\right )}^{p} c x^{2} x^{p} + {\left (c x + b\right )}^{p} b x x^{p}}{p + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^p*(c*x+b)^p*(2*c*x+b),x, algorithm="giac")

[Out]

((c*x + b)^p*c*x^2*x^p + (c*x + b)^p*b*x*x^p)/(p + 1)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 21, normalized size = 1.05 \begin {gather*} \frac {x^{p +1} \left (c x +b \right )^{p +1}}{p +1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^p*(c*x+b)^p*(2*c*x+b),x)

[Out]

x^(p+1)*(c*x+b)^(p+1)/(p+1)

________________________________________________________________________________________

maxima [A]  time = 0.82, size = 29, normalized size = 1.45 \begin {gather*} \frac {{\left (c x^{2} + b x\right )} e^{\left (p \log \left (c x + b\right ) + p \log \relax (x)\right )}}{p + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^p*(c*x+b)^p*(2*c*x+b),x, algorithm="maxima")

[Out]

(c*x^2 + b*x)*e^(p*log(c*x + b) + p*log(x))/(p + 1)

________________________________________________________________________________________

mupad [B]  time = 4.80, size = 22, normalized size = 1.10 \begin {gather*} \frac {x\,x^p\,{\left (b+c\,x\right )}^p\,\left (b+c\,x\right )}{p+1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^p*(b + c*x)^p*(b + 2*c*x),x)

[Out]

(x*x^p*(b + c*x)^p*(b + c*x))/(p + 1)

________________________________________________________________________________________

sympy [A]  time = 3.10, size = 46, normalized size = 2.30 \begin {gather*} \begin {cases} \frac {b x x^{p} \left (b + c x\right )^{p}}{p + 1} + \frac {c x^{2} x^{p} \left (b + c x\right )^{p}}{p + 1} & \text {for}\: p \neq -1 \\\log {\relax (x )} + \log {\left (\frac {b}{c} + x \right )} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**p*(c*x+b)**p*(2*c*x+b),x)

[Out]

Piecewise((b*x*x**p*(b + c*x)**p/(p + 1) + c*x**2*x**p*(b + c*x)**p/(p + 1), Ne(p, -1)), (log(x) + log(b/c + x
), True))

________________________________________________________________________________________